<%@page import="net.vinote.smart.platform.service.awe.layout.AccordionLayout"%>
<%@page import="net.vinote.smart.platform.service.bean.LayoutItem"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/comm/begin.jsp"%>
<%
	String pageID = request.getParameter("LayoutID");
		List<LayoutItem> layoutItem = SRE.getLayoutItems(pageID);
		AccordionLayout layout = new AccordionLayout();
		for (LayoutItem item : layoutItem)
		{
	if (!item.getPageUrl().startsWith("http"))
	{
		item.setPageUrl(basePath + item.getPageUrl());
	}
	layout.addAccordion(item);
		}
		out.print(layout.getHtml());
%>


<%@include file="/comm/end.jsp"%>
